<style>

.top{

}


</style>

<template>
  <div class="container">

    <h1>详情页</h1>

  </div>
</template>


<script>

  export default {
    created() {

      console.log(this.$route);

      // this.aPlus = 500
      // console.log(this.aPlus = 123);

    },
    data() {
      return {
        a: 123,
        xianshi: true,
        event: 'mouseover',
        imageSrc: 'http://'
      }
    }
    , computed: {
      test: function () {
        return '我计算出来的呀';
      },
      // 读取和设置
      aPlus: {
        get: function () {
          return this.a + 1
        },
        set: function (v) {
          this.a = v
        }
      }
    },
    methods: {
      doThis() {
        alert(123)
      }
    }
  }

</script>